//
//  SQLiteTool.h
//  UI18_Work 数据库
//
//  Created by dllo on 16/8/8.
//  Copyright © 2016年 yh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@class Person;
NS_ASSUME_NONNULL_BEGIN
@interface SQLiteTool : NSObject{
    sqlite3 *dbPoint;
}

+ (SQLiteTool *)sharedSQLiteTool;

- (BOOL)openSQLite3;
- (BOOL)createTable;
- (BOOL)insertContact:(Person *)contact;
- (__kindof NSArray *)selectAll;
- (BOOL)deleteAll;

@end
NS_ASSUME_NONNULL_END
